/*  1:   */ package org.intellij.plugins.relaxNG.model;
/*  2:   */ 
/*  3:   */

import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.Nullable;

/*  4:   */
/*  5:   */ 
/*  6:   */ public abstract interface CommonElement<E extends PsiElement>
/*  7:   */ {
/*  8:   */   public abstract void accept(Visitor paramVisitor);
/*  9:   */   
/* 10:   */   public abstract void acceptChildren(Visitor paramVisitor);
/* 11:   */   
/* 12:   */   @Nullable
/* 13:   */   public abstract E getPsiElement();
/* 14:   */   
/* 15:   */   public static abstract class Visitor
/* 16:   */   {
/* 17:   */     public void visitElement(CommonElement paramCommonElement) {}
/* 18:   */     
/* 19:   */     public void visitPattern(Pattern paramPattern)
/* 20:   */     {
/* 21:40 */       visitElement(paramPattern);
/* 22:   */     }
/* 23:   */     
/* 24:   */     public void visitGrammar(Grammar paramGrammar)
/* 25:   */     {
/* 26:44 */       visitElement(paramGrammar);
/* 27:   */     }
/* 28:   */     
/* 29:   */     public void visitDefine(Define paramDefine)
/* 30:   */     {
/* 31:48 */       visitElement(paramDefine);
/* 32:   */     }
/* 33:   */     
/* 34:   */     public void visitRef(Ref paramRef)
/* 35:   */     {
/* 36:52 */       visitElement(paramRef);
/* 37:   */     }
/* 38:   */     
/* 39:   */     public void visitDiv(Div paramDiv)
/* 40:   */     {
/* 41:56 */       visitElement(paramDiv);
/* 42:   */     }
/* 43:   */     
/* 44:   */     public void visitInclude(Include paramInclude)
/* 45:   */     {
/* 46:60 */       visitElement(paramInclude);
/* 47:   */     }
/* 48:   */   }
/* 49:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.intellij.plugins.relaxNG.model.CommonElement

 * JD-Core Version:    0.7.0.1

 */